package com.haoze.nurseapp.model;


import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * TASK_NODE_CONDITION
 * @author 
 */
@Table(name = "IDR.TASK_NODE")
public class TaskNodeEntity extends BaseEntity implements Serializable {
    /**
     * 任务节点ID
     */
    @Id
    @Column(name = "TASK_NODE_ID")
    private String taskNodeId;

    /**
     * 任务ID
     */
    @Column(name = "TASK_ID")
    private String taskId;

    /**
     * 节点ID
     */
    @Column(name = "NODE_ID")
    private String nodeId;

    /**
     * 停用标志(0 正常 1 停用)
     */
    @Column(name = "STOP_FLAG")
    private String stopFlag;

    /**
     * 执行类型(0 指定病区执行 1 引用模板 2 指定职务执行 3 指定人执行)
     */
    @Column(name = "EXECUTE_TYPE")
    private String executeType;

    /**
     * 执行职务ID
     */
    @Column(name = "POSITION_ID")
    private String positionId;

    /**
     * 执行人ID
     */
    @Column(name = "PERSON_ID")
    private String personId;


    /**
     * 通知级别(通知医嘱下达者的级别 0 不通知 1 不要求确认的通知 2 要求确认通知)
     */
    @Column(name = "NOTIFY_LEVEL")
    private String notifyLevel;

    /**
     * 左侧距离
     */
    @Column(name = "LEFT")
    private String left;

    /**
     * 上侧距离
     */
    @Column(name = "TOP")
    private String top;

    /**
     * 是否头部 1-是
     */
    @Column(name = "HEAD_FLAG")
    private String headFlag;

    /**
     * 引用模板明细ID executeType为1时记录
     */
    @Column(name = "QUOTE_TPL_DETAIL_ID")
    private String quoteTplDetailId;

    /**
     * 科室id
     */
    @Column(name = "DEPT_ID")
    private String deptId;

    /**
     * 1-nodeId为任务id
     */
    @Column(name = "TYPE")
    private String type;
    /**
     * 指定医嘱执行状态
     */
    @Column(name = "EXEC_STATUS")
    private String execStatus;

    @Column(name = "IS_KEY")
    private String isKey;
    /**
     * 策略 0 生成下一节点 1 按频次生成当天全部的下一节点
     */
    @Column(name = "STRATEGY")
    private String strategy;
    /**
     * 验证类型 0 扫码, 1点击
     */
    @Column(name = "IDENTIFY_TYPE")
    private String identifyType;
    /**
     * 节点入口 0 一般节点，1 腕带节点, 2 床边节点, 3 病区节点
     */
    @Column(name = "NODE_ENTER")
    private String nodeEnter;
    /**
     * 需核验次数
     */
    @Column(name = "IDENTIFY_NUM")
    private String identifyNum;

    /**
     * 提醒时间
     */
    @Column(name = "REMIND_MINUTES")
    private Integer remindMinutes;
    /**
     * 提醒内容
     */
    @Column(name = "REMIND_INFO")
    private String remindInfo;

    private static final long serialVersionUID = 1L;

    public String getIsKey() {
        return isKey;
    }

    public void setIsKey(String isKey) {
        this.isKey = isKey;
    }

    public String getStrategy() {
        return strategy;
    }

    public void setStrategy(String strategy) {
        this.strategy = strategy;
    }

    public String getIdentifyType() {
        return identifyType;
    }

    public void setIdentifyType(String identifyType) {
        this.identifyType = identifyType;
    }

    public String getNodeEnter() {
        return nodeEnter;
    }

    public void setNodeEnter(String nodeEnter) {
        this.nodeEnter = nodeEnter;
    }

    public String getIdentifyNum() {
        return identifyNum;
    }

    public void setIdentifyNum(String identifyNum) {
        this.identifyNum = identifyNum;
    }

    public String getTaskNodeId() {
        return taskNodeId;
    }

    public void setTaskNodeId(String taskNodeId) {
        this.taskNodeId = taskNodeId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }

    public String getExecuteType() {
        return executeType;
    }

    public void setExecuteType(String executeType) {
        this.executeType = executeType;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getNotifyLevel() {
        return notifyLevel;
    }

    public void setNotifyLevel(String notifyLevel) {
        this.notifyLevel = notifyLevel;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getLeft() {
        return left;
    }

    public void setLeft(String left) {
        this.left = left;
    }

    public String getTop() {
        return top;
    }

    public void setTop(String top) {
        this.top = top;
    }

    public String getHeadFlag() {
        return headFlag;
    }

    public void setHeadFlag(String headFlag) {
        this.headFlag = headFlag;
    }

    public String getQuoteTplDetailId() {
        return quoteTplDetailId;
    }

    public void setQuoteTplDetailId(String quoteTplDetailId) {
        this.quoteTplDetailId = quoteTplDetailId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getExecStatus() {
        return execStatus;
    }

    public void setExecStatus(String execStatus) {
        this.execStatus = execStatus;
    }

    public Integer getRemindMinutes() {
        return remindMinutes;
    }

    public void setRemindMinutes(Integer remindMinutes) {
        this.remindMinutes = remindMinutes;
    }

    public String getRemindInfo() {
        return remindInfo;
    }

    public void setRemindInfo(String remindInfo) {
        this.remindInfo = remindInfo;
    }
}